<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
<head th:replace="~{segmentation/_right_bottom_header::_header_common(~{::title},~{::link},~{::style})}">
    <meta charset="utf-8">
    <title>用户层级查看</title>
    <link>
    <style type="text/css"></style>
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
            <legend>用户层级查看</legend>
        </fieldset>
        <form class="layui-form" id="stratumFormView" action="">
            <div class="layui-form-item">
                <label class="layui-form-label">创建人</label>
                <div class="layui-input-block">
                    <span class="view-span" th:text="${p.createId}"></span>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">创建时间</label>
                <div class="layui-input-block">
                    <span class="view-span" th:text="${#dates.format(p.createTime, 'yyyy-MM-dd HH:mm:ss')}"></span>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">操作人</label>
                <div class="layui-input-block">
                    <span class="view-span" th:text="${p.operaterId}"></span>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">操作时间</label>
                <div class="layui-input-block">
                    <span class="view-span" th:text="${#dates.format(p.operaterTime, 'yyyy-MM-dd HH:mm:ss')}"></span>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">分佣规则编号</label>
                <div class="layui-input-block">
                    <span class="view-span" th:text="${p.userRebateId}"></span>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">固定值分佣</label>
                <div class="layui-input-block">
                    <span class="view-span" th:text="${p.rebateAmount}"></span>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">一级编号(对应T_USER表的ID)</label>
                <div class="layui-input-block">
                    <span class="view-span" th:text="${p.nineId}"></span>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">二级编号(对应T_USER表的ID)</label>
                <div class="layui-input-block">
                    <span class="view-span" th:text="${p.tenId}"></span>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">一级返利比例（待定，暂时不用）</label>
                <div class="layui-input-block">
                    <span class="view-span" th:text="${p.nineRebateRatio}"></span>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">二级返利比例</label>
                <div class="layui-input-block">
                    <span class="view-span" th:text="${p.tenRebateRatio}"></span>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>